package com.nbsaas.boot.site.rest.convert;

import com.nbsaas.boot.site.data.entity.FeedBack;
import com.nbsaas.boot.site.api.domain.response.FeedBackResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* -实体对象转化成响应对象
*/

public class FeedBackResponseConvert  implements Converter<FeedBackResponse,FeedBack> {

    @Override
    public FeedBackResponse convert(FeedBack source) {
        FeedBackResponse  result = new  FeedBackResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

